From 57d9503643d99ef7a1b167038e39b4ab4bd477fd Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 4 Jun 2009 10:57:39 +0100 Subject: [PATCH] xm: Remove redundant os.waitpid() call from do_console() Signed-off-by: Keir Fraser --- tools/python/xen/xm/create.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index a9806099f7..a36371aab5 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -1407,7 +1407,6 @@ def do_console(domain_name): # the child process used to do this has detached print("Domain has already finished"); break - (p, rv) = os.waitpid(cpid, os.WNOHANG) if os.WIFEXITED(rv): if os.WEXITSTATUS(rv) != 0: sys.exit(os.WEXITSTATUS(rv)) -- 2.30.2